Package com.cisco.pt.ipc.sim.impl
Class NetflowFlowImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.NetflowFlowImpl
- All Implemented Interfaces:
IPCObject,NetflowFlow
Information provided by the PKI file:
\class NetflowFlow
\brief NetflowFlow holds and manipulates NetFlow flows.
\example network().getDevice("Router0").getNetflowMonitorManager().getMonitorAt(0).getInterfaceInput("FastEthernet0/0", false).getFlowAt(0)
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionNetflowFlowImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionInformation provided by the PKI file:getCollectStatementAt(int index) Information provided by the PKI file:intInformation provided by the PKI file:Information provided by the PKI file:getMatchStatementAt(int index) Information provided by the PKI file:intInformation provided by the PKI file:voidsetAssociatedRecordName(String record) Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession
-
Constructor Details
-
NetflowFlowImpl
public NetflowFlowImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
getMatchStatementCount
public int getMatchStatementCount()Information provided by the PKI file:
\brief Returns the number of match statements. \return int, the number of match statements.- Specified by:
getMatchStatementCountin interfaceNetflowFlow- Returns:
- int Returns a int
-
getMatchStatementAt
Information provided by the PKI file:
\brief Returns the match statement at the specified index. \param index, the index of the match statement of interest. \return FlowMatchStatement, the FlowMatchStatement at the specified index.- Specified by:
getMatchStatementAtin interfaceNetflowFlow- Parameters:
index- Takes in a parameter of index- Returns:
- FlowMatchStatement Returns a FlowMatchStatement
-
getCollectStatementCount
public int getCollectStatementCount()Information provided by the PKI file:
\brief Returns the number of collect statements. \return int, the number of collect statements.- Specified by:
getCollectStatementCountin interfaceNetflowFlow- Returns:
- int Returns a int
-
getCollectStatementAt
Information provided by the PKI file:
\brief Returns the collect statement at the specified index. \param index, the index of the collect statement of interest. \return FlowCollectStatement, the FlowCollectStatement at the specified index.- Specified by:
getCollectStatementAtin interfaceNetflowFlow- Parameters:
index- Takes in a parameter of index- Returns:
- FlowCollectStatement Returns a FlowCollectStatement
-
getAssociatedRecordName
Information provided by the PKI file:
\brief Returns the name of the associated record. \return string, the name of the associated record.- Specified by:
getAssociatedRecordNamein interfaceNetflowFlow- Returns:
- String Returns a String
-
setAssociatedRecordName
Information provided by the PKI file:
\brief Sets the name for the associated record. \param record, the name for the associated record.- Specified by:
setAssociatedRecordNamein interfaceNetflowFlow- Parameters:
record- Takes in a parameter of record
-
getIpFlowCacheString
Information provided by the PKI file:
\brief Returns the IP cache flow output. \return string, the IP cache flow output.- Specified by:
getIpFlowCacheStringin interfaceNetflowFlow- Returns:
- String Returns a String
-